package com.schoolvisitors.dto;

import com.alibaba.fastjson2.JSONArray;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class RoleDto {
    private Long id;

    @NotNull(message = "名称不能为空")
    private String name;

    private JSONArray permissions;
}